package com.shell.governor.util;

import com.shell.bee.report.excel.ExcelGenerator;
import com.shell.framework.utils.SysDateUtil;
import java.util.Map;

public class ExcelGenUtil extends ExcelGenerator {
	private static ExcelGenUtil util = new ExcelGenUtil();

	public void GenerateExcel(String srcPath, String savePath, Map<String, Object> m) throws Exception {
		m.put("dateUtil", new SysDateUtil());

		m.put("translateUtil", new TranslateUtil());
		super.GenerateExcel(srcPath, savePath, m);
	}

	public static ExcelGenUtil getInstance() {
		return util;
	}
}
